package vorlesung1110

object Ex7 {
  def main(args: Array[String]): Unit = {
    (1 to 100).foreach(i => i match {
      case i if i % 15 == 0 => print("FizzBuzz ");
      case i if i % 05 == 0 => print("Buzz ");
      case i if i % 03 == 0 => print("Fuzz ");
      case i => print(i + " ");
    })
  }
}
